Simplify as suggested by Havoc. Just get the last iter and work backward
authorJoe Shaw <joe@ximian.com>
Tue, 22 May 2001 20:38:18 +0000 (20:38 +0000)
committerJoe Shaw <joeshaw@src.gnome.org>
Tue, 22 May 2001 20:38:18 +0000 (20:38 +0000)
commitf508a7b7e2bdee84d29c10f8850857cdea8401c8
tree44769ac0b95961ecd72893debdf3a5a652c13057
parent04af158605b23034b2911da6dfed8ce7c776bd90
Simplify as suggested by Havoc. Just get the last iter and work backward

2001-05-22  Joe Shaw  <joe@ximian.com>

* gtk/gtktextiter.c (_gtk_text_btree_get_iter_at_last_toggle):
Simplify as suggested by Havoc. Just get the last iter and work
backward to the tag instead of getting a line and working back from
there. Fixes passing in an invalid offset to
iter_init_from_byte_offset().
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktextiter.c